<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
	layout:decorator="main">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改老师信息</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="js/select-ui.min.js"></script>
<script type="text/javascript" src="editor/kindeditor.js"></script>

<script type="text/javascript">
	KE.show({
		id : 'content7',
		cssPath : './index.css'
	});
</script>

<script type="text/javascript">
	$(document).ready(function(e) {
		$(".select1").uedSelect({
			width : 345
		});
		$(".select2").uedSelect({
			width : 167
		});
		$(".select3").uedSelect({
			width : 100
		});
	});
</script>
</head>

<body layout:fragment="content">
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="/ordering/home">首页</a></li>
			<li><a href="#">修改老师信息</a></li>
		</ul>
	</div>
	<div class="formbody">
		<div id="usual1" class="usual">
			<div class="itab">
				<ul>
					<li><a href="#tab1" class="selected">修改老师信息</a></li>
				</ul>
			</div>
			<form id="updateForm" action="updateTeacher" method="post"
				th:object="${educationTeacherResponse}">
				<div id="tab1" class="tabson">
					<!-- <div class="formtext">Hi，<b th:text="${session.user.name}">admin</b>，欢迎您使用修改商品功能！</div> -->
					<ul class="forminfo">
						<!--  <li><label>头像<b>*</b></label><input name="headImage" type="text"   style="width:518px;" /></li> -->
						<li><label>姓名<b>*</b></label><input type="text"
							class="dfinput" style="width: 518px;" th:field="*{name}"
							th:value="*{name}" /></li>
						<li><label>手机号码<b>*</b></label><input name="mobile"
							type="text" class="dfinput" style="width: 518px;"
							th:value="${educationTeacherResponse.mobile}" /></li>
						<!-- <li><label>密码<b>*</b></label><input name="password"
							type="text" class="dfinput" style="width: 518px;"
							th:value="${educationTeacherResponse.password}" /></li>		 -->		
						<li><label>学科下拉框<b>*</b></label> <select
							th:field="*{subject.id}" class="dfinput" style="width: 518px;">
								<option value="">--option--</option>
								<option th:each="subject : ${subjects.list}"
									th:value="${subject.id}" th:text="${subject.name}">option</option>
						</select></li>
						<li><label>学校下拉框<b>*</b></label> <select
							th:field="*{school.id}" class="dfinput" style="width: 518px;">
								<option value="">--option--</option>
								<option th:each="school : ${schools.list}"
									th:value="${school.id}" th:text="${school.name}">option</option>
						</select></li>
						<li><label>创建时间<b>*</b></label><input name="createTime" readonly="readonly"
							type="text" class="dfinput" style="width: 518px;"
							th:value="${educationTeacherResponse.createTime}" /> <input
							type="hidden" name="id" th:value="${educationTeacherResponse.id}" />
						</li>
						<li><label>&nbsp;</label><input id="goForm" type="submit"
							class="btn" value="保存信息" /></li>
					</ul>
				</div>
			</form>
		</div>

		<!-- <script type="text/javascript">
		/* $("#textDescription").val($("#tdescription").val());
	    $("#usual1 ul").idTabs();  */
	    $("#goForm").click(function(){
			/* var values=$("#textDescription").val();
			$("#description").val(values); */
			$("#updateForm").submit();
		});
	    /* $('.tablelist tbody tr:odd').addClass('odd'); */
    </script> -->

		<script type="text/javascript">
			
		</script>

	</div>

</body>
</html>
